package com.x.crm.http.response.login;

import com.x.crm.DocDesc;
import com.x.security.model.Application;

import java.io.Serializable;

public class CrmApplication implements Serializable {
    @DocDesc("应用id")
    private String applicationId;
    @DocDesc("应用名称")
    private String applicationName;
    public CrmApplication(Application application) {
        this.applicationId = application.getApplicationId();
        this.applicationName = getApplicationName();
    }

    public String getApplicationId() {
        return applicationId;
    }

    public void setApplicationId(String applicationId) {
        this.applicationId = applicationId;
    }

    public String getApplicationName() {
        return applicationName;
    }

    public void setApplicationName(String applicationName) {
        this.applicationName = applicationName;
    }
}
